<template>
    <div>
        <Title titleOne="系统设置" titleTwo="用户管理"></Title>
        <el-tabs type="card">
            <el-tab-pane label="用户">
                <AddUser></AddUser>
            </el-tab-pane>
            <el-tab-pane label="用户组" v-if="$store.state.userInfo.groups == 1">
                <AddUserGroup></AddUserGroup>
            </el-tab-pane>
        </el-tabs>
    </div>
</template>

<script>
    import AddUser from './addUser'
    import AddUserGroup from './addUserGroup'

    export default {
        name: "user",
        components: {
            'AddUser': AddUser,
            'AddUserGroup': AddUserGroup
        },
        data() {
            return {

            }
        },
        methods: {

        }
    }
</script>

<style scoped>

</style>
